// This file is part of Indico.
// Copyright (C) 2002 - 2025 CERN
//
// Indico is free software; you can redistribute it and/or
// modify it under the terms of the MIT License; see the
// LICENSE file for more details.

@use 'rb:styles/palette' as *;
@use 'rb:styles/responsive' as *;

.pre-booking-color {
  color: $orange;
}

.events-segment-description {
  color: $gray;
  padding-bottom: 1em;
}

.event-checkbox {
  display: flex;
  align-items: center;

  .description {
    margin-left: 1em;
    color: $gray;
  }

  .checkbox {
    margin-left: auto;
  }

  .link-active {
    margin-left: 0.5em;
    margin-bottom: 0.15em;
  }
}

.event-dropdown {
  display: flex;
  align-items: center;

  :global(.field) {
    flex-grow: 1;
    padding-right: 1em;
    margin: 0 !important;
  }

  .link-active .link-inactive {
    margin-left: auto;
  }

  .link-inactive :global(.icon) {
    color: $gray;
  }
}

:global(.ui.segment).pre-conflicts-segment {
  padding-left: 2em;
}

.usage-radio :global(.ui.radio) {
  @media (max-width: $tablet-width) {
    padding-bottom: 0.5em;
  }
}

:global(.ui.inverted.segment).internal-notes-segment {
  background: $internal-notes-segment-color;
}
